//
//  NSUserDefaults+Accout.m
//  ShiShiBang
//
//  Created by 宋宝强 on 16/9/8.
//  Copyright © 2016年 motianjituan. All rights reserved.
//

#import "NSUserDefaults+Accout.h"

@implementation NSUserDefaults (Accout)

+(void)saveLastLoginAccount:(NSString *)loginAccount{
    NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
    [defaults setObject:loginAccount forKey:@"lastLoginAccount"];
    [defaults synchronize];
}
+(NSString *)lastLoginAccount{
    return [[NSUserDefaults standardUserDefaults] objectForKey:@"lastLoginAccount"];
}
@end
